vr2-3-40.wrl
[ VRML source code ]
#VRML V2.0 utf8
#vr2-3-40.wrl
#Mountain
Shape {
appearance Appearance {
material Material {
diffuseColor 0 1 0
}
}
geometry ElevationGrid {
xDimension 10
zDimension 7
xSpacing 10
zSpacing 10
height [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 10, 8, 2, 3, 2, 3, 1, 1, 0,
0, 7, 15, 8, 5, 5, 7, 5, 3, 1,
0, 1, 6, 5, 10, 20, 10, 5, 2, 0,
0, 1, 2, 4, 8, 15, 8, 5, 3, 0,
0, 1, 2, 3, 2, 3, 7, 10, 6, 0,
0, 1, 2, 1, 0, 0, 0, 0, 0, 0
]
}
}
#Sun
Transform {
translation 50 10 0
children Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 0
specularColor 1 1 0
}
}
geometry Sphere { radius 5 }
}
}
#Lake
Transform {
translation 50 0 35
children Shape {
appearance Appearance {
material Material {
diffuseColor 0 1 1
}
}
geometry Box { size 100 1 70 }
}
}